<%@ include file="/common/taglibs.jsp"%>

  <div id="switchLocale">
    <%--<c:if test="${pageContext.request.locale.language ne 'en'}">--%>
        <!--<a href="<c:url value='/?locale=en'/>"><fmt:message key="webapp.name"/> in English</a>-->
    <%--</c:if>--%>
    <c:if test="${not empty pageContext.request.remoteUser}">
        <a href="<c:url value='/editProfile'/>"><fmt:message key="menu.user"/></a> |
        <a href="<c:url value='/logout'/>"><fmt:message key="user.logout"/></a>
    </c:if>
    <c:if test="${empty pageContext.request.remoteUser}">
        <a href="<c:url value="/login"/>"><fmt:message key="login.title"/></a> |
        <a href="<c:url value="/signup"/>"><fmt:message key="menu.signup"/></a>
    </c:if>
</div>

<div id="branding">
    <h1><a href="<c:url value='/'/>"><fmt:message key="webapp.name"/></a></h1>
    <p><fmt:message key="webapp.tagline"/></p>
</div>
<div id="search">
    <input type="text" class="text"/>
    <input type="submit" class="button" value="<fmt:message key="button.search"/>" />
    <!--<input type="submit" class="searchButton" value="GO" />-->
</div>
<hr />

<%-- Put constants into request scope --%>
<appfuse:constants scope="request"/>